@(message: String)(implicit session:Session)

@defining(play.core.PlayVersion.current) { version =>

@*****
**header**
***@
    <div class="layui-header">
        <div class="layui-logo">管理后台布局</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="@controllers.admin.routes.AdminController.index()">控制台</a></li>

            <li class="layui-nav-item"><a href="@routes.UsersController.index()">用户</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;">其它系统</a>
                <dl class="layui-nav-child">
                    <dd><a href="@routes.UsersController.index()">用户</a></dd>
                    <dd><a href="">消息管理</a></dd>
                    <dd><a href="">授权管理</a></dd>
                    <dd><a class="" href="@controllers.user.routes.KisOutStockController.outstock()">OutStock</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:;">Tree</a>
                <dl class="layui-nav-child">
                    <dd id="treetest1"></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a class="nav-link disabled" href="#">Disabled</a></li>
        </ul>

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item" id="layerOpen">
                @if(session.get("accid").nonEmpty){<!-- if user.is_authenticated -->
                <a href="@routes.UsersController.index()">
                    <img src='@routes.Assets.versioned("images/prologo.png")' class="layui-nav-img">
                    @session.get("uname")
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="javascript:;">修改信息</a></dd>
                    <dd><a href="javascript:;">安全管理</a></dd>
                    <!-- if user.is_superuser -->
                    <dd><a href="/manageui">管理后台</a></dd>
                    <!-- endif -->
                    <dd><a class="lay-btn" data-method="mpassword" data-type="auto" href="@routes.UsersController.updatePWD()">修改密码</a></dd>
                    <dd><a class="dropdown-item" href="@routes.UsersController.logout()">退出</a></dd>
                </dl>
                }else{<!-- else -->

                <a data-method="loginnotice" data-type="auto" class="lay-btn"><img src='@routes.Assets.versioned("images/prologo.png")' class="layui-nav-img">登陆</a>

                }<!-- endif -->
            </li>
        </ul>
    </div>

}